package com.ikun.pojo;

import java.util.Date;

public class TbLog {

    private Long id;
    private String content;
    private String time;
    private TbUser user;

    public TbLog(Long id, String content, String time, TbUser user) {
        this.id = id;
        this.content = content;
        this.time = time;
        this.user = user;
    }

    public TbLog(String content, String time, TbUser user) {
        this.content = content;
        this.time = time;
        this.user = user;
    }

    public TbLog() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public TbUser getUser() {
        return user;
    }

    public void setUser(TbUser user) {
        this.user = user;
    }
}